package com.wx_shop.api.domain.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperConfExpress implements Serializable {
    private Integer id;

    /**
     * 物流公司名字
     */
    private String shippingName;

    /**
     * 编码
     */
    private String shipperCode;

    /**
     * 公司简介
     */
    private String shippingDesc;

    private Boolean enabled;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 物流公司名字
     */
    public String getShippingName() {
        return shippingName;
    }

    /**
     * 物流公司名字
     */
    public void setShippingName(String shippingName) {
        this.shippingName = shippingName;
    }

    /**
     * 编码
     */
    public String getShipperCode() {
        return shipperCode;
    }

    /**
     * 编码
     */
    public void setShipperCode(String shipperCode) {
        this.shipperCode = shipperCode;
    }

    /**
     * 公司简介
     */
    public String getShippingDesc() {
        return shippingDesc;
    }

    /**
     * 公司简介
     */
    public void setShippingDesc(String shippingDesc) {
        this.shippingDesc = shippingDesc;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", shippingName=").append(shippingName);
        sb.append(", shipperCode=").append(shipperCode);
        sb.append(", shippingDesc=").append(shippingDesc);
        sb.append(", enabled=").append(enabled);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperConfExpress other = (SuperConfExpress) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getShippingName() == null ? other.getShippingName() == null : this.getShippingName().equals(other.getShippingName()))
            && (this.getShipperCode() == null ? other.getShipperCode() == null : this.getShipperCode().equals(other.getShipperCode()))
            && (this.getShippingDesc() == null ? other.getShippingDesc() == null : this.getShippingDesc().equals(other.getShippingDesc()))
            && (this.getEnabled() == null ? other.getEnabled() == null : this.getEnabled().equals(other.getEnabled()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getShippingName() == null) ? 0 : getShippingName().hashCode());
        result = prime * result + ((getShipperCode() == null) ? 0 : getShipperCode().hashCode());
        result = prime * result + ((getShippingDesc() == null) ? 0 : getShippingDesc().hashCode());
        result = prime * result + ((getEnabled() == null) ? 0 : getEnabled().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        return result;
    }
}